<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>商家店铺</title>
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<link rel="stylesheet" href="{:_SKIN}/weixin/shop/css/reset.css" />
		<link rel="stylesheet" type="text/css" href="{:_SKIN}/weixin/shop/css/shangjia.css" />
		<link rel="stylesheet" href="{:_SKIN}/weixin/shop/css/swiper-3.4.2.min.css" />
		<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_400457_ferrh5dyuq8h0k9.css" />
		<link rel="stylesheet" type="text/css" href="{:_SKIN}/weixin/shop/css/font-icon.css" />
		<style type="text/css">
			.font_28 {
				font-size: 28px;
			}
			#d_2{
				display: none;
			}

			/*#d_2 .quanbu:nth-child(odd) { float:left }
			#d_2 .quanbu:nth-child(even) { float:right}*/
			#d_2 .quanbu { float: left; }

			.pp { height: 40px;}
			.btn a { border-bottom: 2px solid #fff; padding: 8px 0; line-height: 25px}
			.dianpu-1 {margin-top: 10px}
			.quanbu { border-bottom: 1px solid #ddd}
		</style>
	</head>

	<body>
		<div class="content">
			<div class="shop-0">
				<div class="xw_90">
					<a href="javascript:history.go(-1)">
						<i class="iconfont icon-fanhui zuo bai font_20"></i>
					</a>
					<a >
						<i class="iconfont icon-lianxi you bai font_28"></i>
					</a>
				</div>
				<div class="touxiang">
					<img src="{$list[0]['pic']}" style="width: 60px;height: 60px; border-radius: 88px" ;/>
					<p class="dianpu">{$t.dpmc}</p>
				</div>
			</div>
			<!-- <div class="btn">
				<a href="#" style="color: #15ce67; border-bottom-color: #15ce67" onclick="add()" id="shouye">店铺首页</a>
				<a   id="quanbu">全部产品</a>
			</div> -->
			<div style="clear: both;"></div>
			<div class="dianpu-1" id="d_1" style="display: none">
				<div class="xin-4">
					<h3>|&nbsp;商家简介</h3>
				</div>

				<div class="nr bian">
					<div class="sj-22 zuo font-14 active">[商家名称]</div>
					<div class="sj-64 zuo font-14 yoo">{$t.dpmc}</div>
				</div>
				<div class="nr">
					<div class="sj-22 zuo font-14 active">[店铺简介]</div>
					<div class="sj-64 zuo font-14 yoo pp">{$t.MainBus|default="未填写"}</div>
				</div>
				<div style="clear: both;"></div>
				<div class="xin-4 mt_50">
					<h3>|&nbsp;供应商信息</h3>
				</div>
				<div class="nr bian">
					<div class="sj-22 zuo font-14 active">[认证信息]</div>
					<div class="sj-64 zuo font-14 yoo">
						<span>企业认证</span>/<span>实名认证</span>/<span>手机绑定</span>
					</div>
				</div>
				<div class="nr bian">
					<div class="sj-22 zuo font-14 active">[所在地区]</div>
					<div class="sj-64 zuo font-14 yoo">{$t.Province}{$t.City}{$t.Area}</div>
				</div>
				<div class="nr bian">
					<div class="sj-22 zuo font-14 active">[供应数量]</div>
					<div class="sj-64 zuo font-14 yoo">20条</div>
				</div>
				<div class="nr">
					<div class="sj-22 zuo font-14 active">[访客数量]</div>
					<div class="sj-64 zuo font-14 yoo">20次</div>
				</div>
				<div style="clear: both;"></div>
				<div class="xin-4 mt_50">
					<h3>|&nbsp;联系我们</h3>
				</div>
				<div class="nr bian">
					<div class="sj-22 zuo font-14 active">[联系人]</div>
					<div class="sj-64 zuo font-14 yoo">{$t.ShopKeeper}</div>
				</div>
				<div class="nr bian">
					<div class="sj-22 zuo font-14 active">[联系方式]</div>
					<div class="sj-64 zuo font-14 yoo pp">{$t.Mobile}</div>
				</div>
				<div class="nr">
					<div class="sj-22 zuo font-14 active">[店铺地址]</div>
					<div class="sj-64 zuo font-14 yoo pp">{$t.AdressDis}</div>
				</div>
			</div>
			<div class="dianpu-2" id="d_2" style="display: block;">

				{volist name="list" id="v"}
				<a href="{:url('product',['id'=>$v['id']])}">
				<div class="quanbu ">
					<div><img src="{$v.pic}" width="100%" style="max-height:" /></div>
					<h3 class="pp">{$v.name}</h3>
					<div class="hong font-14">¥{$v.price}</div>
				</div>
				</a>
				{/volist}



			</div>
		</div>

		<script type="text/javascript">




			var aa = document.getElementById('d_1').style;
			var bb = document.getElementById('d_2').style;
			var shouye = document.getElementById('shouye').style;
			var quanbu = document.getElementById('quanbu').style;
			function add(){
				aa.display='block';
				bb.display='none';
				shouye.color='#15ce67';
				shouye.borderBottomColor="#15ce67"; //.borderBottomColor="#15ce67";
				quanbu.color='#333333';
                quanbu.borderBottomColor="#fff";
			}
			function aqq(){
				aa.display='none';
				bb.display='block';
				shouye.color='#333333';
				quanbu.color='#15ce67';
                shouye.borderBottomColor="#fff";
                quanbu.borderBottomColor="#15ce67";
			}
		</script>
	</body>

</html>